package com.chansos.dubbogo.project_generator;

import com.chansos.dubbogo.common.Registry;
import com.chansos.dubbogo.ui.ComponentsGroup;
import com.chansos.dubbogo.ui.GoNewProjectPanel;

import javax.swing.*;

public class GoModuleWizardStep extends com.intellij.ide.util.projectWizard.ModuleWizardStep {
    @Override
    public JComponent getComponent() {
        GoNewProjectPanel.update();
        return GoNewProjectPanel.panel;
    }

    @Override
    public void updateDataModel() {

    }

    public GoGenericTemplate getSelection() {
        return GoNewProjectPanel.getSelection();
    }

    public Registry getRegistry() {
        return GoNewProjectPanel.getRegistry();
    }

    public ComponentsGroup.ComponentConfigs getComponents() {
        return GoNewProjectPanel.getComponents();
    }
}
